<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Servis_model extends CI_Model{
	function __construct() {
		parent::__construct();
	}
	
	function add_trax_cust($clause){
		$this->db->insert('trax_cust',$clause);
//                die($this->db->last_query());
		return $this->db->insert_id();
	}
        
        function get_trax_cust_clause($clause){
		$query = $this->db->get_where('trax_cust',$clause);
//                die($this->db->last_query());
		return $query->result_array();
	}
}

/** End of file */